import command.MathCommand as MathCommand
import command.FileCommand as FileCommand
import command.MiscCommand as MiscCommand

""" General Effect """
''' AmazingEditor应用程序路径 '''
amazing_editor_path = "/Applications/AmazingEditor_v13.6.0.app"
''' 工程工作目录 '''
effect_workspace = "/Users/jorgen/EffectMacaron/scriptEffect"
''' 暂存目录 '''
effect_temporary = "/Users/jorgen/.bytedance_cache"
''' 堆栈目录 '''
effect_stack_root = "/Volumes/ext/.bytedance_stack"
''' 智能导入参数 '''
effect_import_args = {"define": "DEV=1"}
''' 智能导出参数 '''
effect_export_args = {
    "check-ascii": None,
    "check-image": None,
    "check-extra": None,
    "check-version": None,
    "remove-slider-config": None,
    "binary": None,
    "define": "",
    "merge": None,
    "rehash": None,
    "sign": None,
}
''' 通用特效包最小版本号 '''
effect_min_version = "10.5.0"
''' 最大允许图片尺寸 '''
effect_max_image_size = 1024
''' 手机测试服务地址列表 '''
effect_upload_target = [
    "10.1.1.13:8080",
    "10.1.1.13:8081",
]
''' 自定义指令集 '''
custom_command_set = {
    "": {"merge": None, "remove-slider-config": None},
    "d": {"define": "DEV=1"},
    "D": {"define": "DEV=1,EDIT=1"},
    "r": {"define": ""},
    "t": {"text": None},
    "b": {"binary": None},
    "gsw": MathCommand.cmd_gsw,
    "rename": FileCommand.cmd_rename,
    "ed": MiscCommand.cmd_smart_export_douyin,
    "ec": MiscCommand.cmd_smart_export_without_binary,
    "shapeBlur": MiscCommand.cmd_shape_blur_max_radius,
}



""" Info Sticker """
''' 信息化贴纸最小版本号 '''
info_sticker_min_version = "4.0.0"



""" MV Viewer """
''' MV工程最小版本号 '''
mv_viewer_min_version = "9.5.0"
''' MV本地渲染器工作目录 '''
mv_workspace = "/Volumes/ext/mv_workspace"



""" CapCut """
''' CC/剪映 测试服务工作目录 '''
cc_workspace = "/Volumes/ext/cc_workspace"
cc_min_version = "10.5.0"
xt_min_version = "10.5.0"
tr_min_version = "13.3.0"



""" Library """
''' 支持库根目录 '''
library_root = "/Volumes/ext/bytedance_libs"



